"use strict";
/**
 * Created by liamjung on 2018/5/23.
 */
module.exports = {

    //微信发起请求调用业务服务
    "*:/mp/*": {
        controller: require("@libfintech/api-gateway-plugin/wx_gateway/controller/receive"),
        //无需配置host，从公众号配置中获取
        // host: ""
    },

    //业务服务发起请求调用微信
    "*:/send/*": {
        controller: require("@libfintech/api-gateway-plugin/wx_gateway/controller/send"),
        //默认服务host（必选），格式：http(s)://xxx(:端口)
        host: "https://api.weixin.qq.com"
    },

    //验证接口
    "GET:/MP_verify_*.txt": {
        controller: require("@libfintech/api-gateway-plugin/wx_gateway/controller/verify"),
        //无需配置host
        // host: ""
    }
};